$(function () {
    var form = new xhForm($('#xh_form'));
    form.parse().bindRequired($('#bt_modal_confirm',window.top.document));

    //提交按钮处理事件
    $('#bt_modal_confirm',window.top.document).click(function () {
        form.submit('appserver/addAppBlack',{},function (res) {
            window.top.xhTop.showSuccess(res.msg);
            window.top.xhTop.getActiveFrame().obj.dataGrid.reload();
            window.top.xhTop.closeModal();
        });
    });
});